package com.schoolcloud.social.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;

/**
 * 标签与帖子关联表
 * @TableName soc_post_tag_relations
 */
@TableName(value ="soc_post_tag_relations")
@Data
public class SocPostTagRelations implements Serializable {
    /**
     * 标签id
     */
    @TableId
    private Integer tagId;

    /**
     * 帖子id
     */
    private Integer postId;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
